package zhihui.mobile.ui.shop.address;

import java.util.List;

import zhihui.mobile.bean.address.Province;
import zhihui.mobile.bean.shop.address.ShoppingAddress;
import zhihui.mobile.presenter.IPresenter;
import zhihui.mobile.ui.IView;

/**
 * Created by 张公铭 on 2017/8/16 0016.
 */

public interface IShopAddressAddContract
{
    interface IShopAddressAddView extends IView
    {
        void showAddressDialog(List<Province> list);

        void initData(ShoppingAddress address);
    }

    interface IShopAddressAddPresenter extends IPresenter
    {
        void showAddressDialog();

        void setProv(String name, String code);

        void setCity(String name, String code);

        void setArea(String name, String code);

        void addAddress(String name, String phone ,String address);

        void setUpdateId(int addressId);
    }
}
